import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import {h} from 'vue';
import {Switch} from 'ant-design-vue';

export const columns: BasicColumn[] = [
        {
            title: '员工姓名',
            dataIndex: 'employeeName',
            width: 200,
        },
        {
            title: 'platform平台,shop商家,third第三方',
            dataIndex: 'employeeType',
            width: 200,
        },
        {
            title: '员工头像',
            dataIndex: 'employeeImg',
            width: 200,
        },
        {
            title: 'manager区域经理，employee普通员工',
            dataIndex: 'employeePosition',
            width: 200,
        },
        {
            title: '员工账户',
            dataIndex: 'employeeAccount',
            width: 200,
        },
        {
            title: '手机号',
            dataIndex: 'employeePhone',
            width: 200,
        },
        {
            title: '员工二维码',
            dataIndex: 'employeeQrCode',
            width: 200,
        },
        {
            title: '员工所属机场',
            dataIndex: 'airportId',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'targetId',
            width: 200,
        },
        {
            title: '员工职位状态',
            dataIndex: 'jobState',
            width: 200,
        },
        {
            title: '是否调岗',
            dataIndex: 'isAdjust',
            width: 200,
        },
        {
            title: '企业微信图片',
            dataIndex: 'qiyeWeChatImg',
            width: 200,
        },
        {
            title: '创建日期',
            dataIndex: 'createDate',
            width: 200,
        },
        {
            title: '是否删除',
            dataIndex: 'deleted',
            width: 200,
        },
        {
            title: '更新人',
            dataIndex: 'updateUser',
            width: 200,
        },
        {
            title: '更新时间',
            dataIndex: 'updateTime',
            width: 200,
        },
        {
            title: '创建人',
            dataIndex: 'createUser',
            width: 200,
        },
        {
            title: '创建时间',
            dataIndex: 'createTime',
            width: 200,
        },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
        {
            label: '员工姓名',
            field: 'employeeName',
            component: 'Input',
            required: true,
        },
        {
            label: 'platform平台,shop商家,third第三方',
            field: 'employeeType',
            component: 'Input',
            required: true,
        },
        {
            label: '员工头像',
            field: 'employeeImg',
            component: 'Input',
            required: true,
        },
        {
            label: 'manager区域经理，employee普通员工',
            field: 'employeePosition',
            component: 'Input',
            required: true,
        },
        {
            label: '员工账户',
            field: 'employeeAccount',
            component: 'Input',
            required: true,
        },
        {
            label: '手机号',
            field: 'employeePhone',
            component: 'Input',
            required: true,
        },
        {
            label: '员工二维码',
            field: 'employeeQrCode',
            component: 'Input',
            required: true,
        },
        {
            label: '员工所属机场',
            field: 'airportId',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'targetId',
            component: 'Input',
            required: true,
        },
        {
            label: '员工职位状态',
            field: 'jobState',
            component: 'Input',
            required: true,
        },
        {
            label: '是否调岗',
            field: 'isAdjust',
            component: 'Input',
            required: true,
        },
        {
            label: '企业微信图片',
            field: 'qiyeWeChatImg',
            component: 'Input',
            required: true,
        },
        {
            label: '创建日期',
            field: 'createDate',
            component: 'Input',
            required: true,
        },
        {
            label: '是否删除',
            field: 'deleted',
            component: 'Input',
            required: true,
        },
        {
            label: '更新人',
            field: 'updateUser',
            component: 'Input',
            required: true,
        },
        {
            label: '更新时间',
            field: 'updateTime',
            component: 'Input',
            required: true,
        },
        {
            label: '创建人',
            field: 'createUser',
            component: 'Input',
            required: true,
        },
        {
            label: '创建时间',
            field: 'createTime',
            component: 'Input',
            required: true,
        },
];
